package com.jyxd.web.data.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "respirator_data")
public class BreathProperty {
    @Id
    private Long _id;
    private String deviceId;
    private Long dataTime;
    //@Schema(description = "呼吸机模式")
    private String mode;
    //@Schema(description = "潮气量")
    private String vt;
    //@Schema(description = "吸入潮气量")
    private String vti;
    //@Schema(description = "呼出潮气量")
    private String vte;
    //@Schema(description = "吸入氧浓度")
    private String fio2;
    //@Schema(description = "呼吸频率")
    private String f;
    //@Schema(description = "分钟通气量")
    private String mv;
    //ExpMinVol
    //@Schema(description = "呼出分钟通气量")
    private String emv;
    //@Schema(description = "气道阻力")
    private String resistance;
    //@Schema(description = "肺顺应性")
    private String compliance;
    //@Schema(description = "气道温度")
    private String temp;
    //@Schema(description = "总呼吸频率")
    private String ftot;
    //@Schema(description = "自主呼吸频率")
    private String fspn;
    //@Schema(description = "吸气相气道正压")
    private String ipap;
    //@Schema(description = "呼气相气道正压")
    private String epap;
    //IPAP 和 EPAP 的差即是 PS
    //@Schema(description = "压力支持（PS）值")
    private String ps;
    //@Schema(description = "吸⽓阻⼒")
    private String rinsp;
    //@Schema(description = "吸⽓时间")
    private String tinsp;
    //@Schema(description = "呼⽓时间")
    private String texp;
    //@Schema(description = "平台时间")
    private String tplat;
    //@Schema(description = "峰值流速")
    private String flowPeak;
    //@Schema(description = "肺静态顺应性")
    private String staticCompliance;
    //@Schema(description = "⾃主呼吸频")
    private String fspont;
    //@Schema(description = "总呼吸频率")
    private String ftotal;
    //@Schema(description = "吸气压力")
    private String pinsp;
    //@Schema(description = "触发灵敏度")
    private String trigger;
    //@Schema(description = "吸⽓峰值流速")
    private String inspFlow;
    //@Schema(description = "呼⽓峰值流速")
    private String expFlow;
    //@Schema(description = "压力上升时间")
    private String ramp;
    //@Schema(description = "气道峰值压力")
    private String peak;
    //@Schema(description = "吸气流速")
    private String flow;
    //@Schema(description = "气道平均压力")
    private String pmean;
    //@Schema(description = "呼气末正压")
    private String peep;
}

